<template>
  <el-sub-menu index="5">
    <template #title>视频监控</template>
    <el-menu-item index="5-1" @click="$store.openMonitor">打开监控</el-menu-item>
    <el-menu-item index="5-2" @click="$store.closeMonitor">关闭监控</el-menu-item>
  </el-sub-menu>
</template>

<script setup>
import { useMapgisStore } from '@/stores/mapgis';
const $store = useMapgisStore();
</script>

<style scoped></style>
